#ifndef __LEG_GROUP
#define __LEG_GROUP

#include "servo_extend.h"

typedef struct {
    LobotServo LG_servos[3];  // 舵机组
    float deg_offset[3];  // 舵机偏移角度
} LegGroup;

void LG_init(LegGroup *LegG_p, UART_HandleTypeDef *huart);
void LG_spin_to_deg(LegGroup *LG_p, float yaw, float pitch_1, float pitch_2);


#endif